﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

#pragma once

#include "GcmpModelInterface.h"
#include "IObject.h"

namespace gcmp
{
    class IDrawingTableItemEventArgs;

    /// \brief  单元格事件处理者
    ///
    class GCMP_MODEL_INTERFACE_EXPORT IDrawingTableItemEventHandler : public IObject
    {
        DEFINE_CAST_DERIVED(gcmp::IDrawingTableItemEventHandler, gcmp::IObject)
    public:
        ///  \brief 单元格事件处理 
        ///
        /// \param  pArgs 单元格事件参数
        virtual void On(IDrawingTableItemEventArgs* pArgs) = 0;
    };
}